<!-- 指令视图：v-focus 与 v-permission -->
<template>
  <div>
    <h2>指令示例</h2>
    <input v-focus placeholder="自动获取焦点" />
    <p v-permission="'protected'">只有登录后才可见的文本</p>
  </div>
</template>

<script>
export default { name: 'DirectiveDemoPage' }
</script>

